package com.yan.utils;


public enum ResultCode {

    SUCCESS("SUCCESS",200),ERROR("ERROR",400);

    ResultCode(String message, Integer code) {
        this.message = message;
        this.code = code;
    }

    private String message;

    private Integer code;

    public String getMessage() {
        return message;
    }

    public void setMessage(String status) {
        this.message = status;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
